import { axios } from '@/utils/request'

/**
 * 轮播图
 */

export function selectPage (parameter) {
  return axios({
    url: '/shop/equityCard/list',
    method: 'get',
    params: parameter
  })
}

export function saveOrUpdate (parameter) {
  return axios({
    url: '/shop/equityCard/saveOrUpdate',
    method: 'post',
    data: parameter
  })
}


export function del (parameter) {
  return axios({
    url: '/shop/equityCard/' + parameter,
    method: 'delete'
  })
}

export function statusBtn (id) {//启用禁用
  return axios({
    url: '/shop/equityCard/updateStatus/' + id,
    method: 'put'
  })
}
